package com.taxi.driver.module.amap;

import com.amap.api.services.core.LatLonPoint;
import com.amap.api.services.route.DriveRouteResult;
import com.taxi.driver.common.i.IBasePresenter;
import com.taxi.driver.common.i.IBaseView;

/**
 * 功能描述：
 */
public interface AMapContract {

    interface View extends IBaseView<Presenter> {
        /**
         * 规划路线画到地图
         */
        void routeShow(DriveRouteResult result);
    }

    interface Presenter extends IBasePresenter {
        /**
         * 路线规划
         */
        void routeSearch(LatLonPoint originPoint, LatLonPoint destPoint);
    }
}
